<table border="1" class="luru_tab_h" borderColor=#7ec1ff id="addData">
  <tr>
     <td class="luru_title_h">
      ${jxrb.message("systemDataImport.description")}
    </td>
    <td class="luru_title_h">
      ${jxrb.message("systemDataImport.fieldName")}
    </td>
    <td class="luru_title_h">
      ${jxrb.message("systemDataImport.column")}
    </td>
    <td colspan="2" class="luru_title_h">
      ${jxrb.message("systemDataImport.dataType")}
    </td>
  </tr> 
<#if (dataConfig??)>
<#if (dataConfig.tableExcels.size() != 0)>
<#list dataConfig.tableExcels as data>
  <tr id ="divD_${data_index}">          
    <td>
      <input name="description" type="text"  size="20" value="${(data.description)!}" />
    </td>
    <td>
      <input name="fieldName" type="text"  size="20" value="${(data.fieldName)!}" />
    </td>
    <td>
      <#if (data.dataType == -1)>
      <input name="column" type="text"  size="20" value="${(data.defaultValue)!}" /> 
      <#else>
      <input name="column" type="text"  size="20" value="${(data.column)!}" /> 
      </#if>
    </td>
    <td>
      <div id="dataTypediv" style="float: left">
        <#include "/common/select/dict_select_code_layout.html" />
        <@dict_select_layout  selectname="dataType" selectedid=(data.dataType)!?string dicttype="dataType"/></div>
    </td>
    <td>
      <#if (data_index != 0)>
      <input type="button" value='${jxrb.message("action.del")}'  onclick="deleteData('${data_index}')"/>
      <#else>
      <input type="button"  value='${jxrb.message("action.add")}' id="addP" onclick="addDatas()"/>
      </#if>
    </td>          
  </tr>             
</#list>  
<#else>        
  <tr>
    <td>
      <input name="description" type="text"  size="20" />
    </td>
    <td>
      <input name="fieldName" type="text" value=""size="20"  />
    </td>
    <td>
      <input name="column" type="text" value="" size="20"  /> 
    </td>
    <td>
      <div id="dataTypediv" style="float: left">
        <#include "/common/select/dict_select_code_layout.html" />
        <@dict_select_layout  selectname="dataType"  dicttype="dataType"/></div>
    </td>
    <td>
      <input type="button"  value='${jxrb.message("action.add")}' id="addP" onclick="addDatas()"/>
    </td>   
  </tr> 
</#if>
<#else>
  <tr>
     <td>
      <input name="description" type="text"  size="20" />
    </td>
    <td>
      <input name="fieldName" type="text" value=""size="20"  />
    </td>
    <td>
      <input name="column" type="text" value="" size="20"  /> 
    </td>
    <td>
      <div id="dataTypediv" style="float: left">
        <#include "/common/select/dict_select_code_layout.html" />
        <@dict_select_layout  selectname="dataType"  dicttype="dataType"/></div>
    </td>
    <td>
      <input type="button"  value='${jxrb.message("action.add")}' id="addP" onclick="addDatas()"/>
    </td>   
  </tr> 
</#if>
</table>